package com.example.sourcecodelearning.modules.designpattern.template.impl;

import com.example.sourcecodelearning.modules.designpattern.template.SmsTemplate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 腾讯云短信发送
 */
@Slf4j
@Service
public class TencentSmsSend extends SmsTemplate {

    @Override
    protected boolean manufacturer(String mobile, String code) {
        log.info("读取腾讯云短信配置");
        log.info("创建腾讯云发送短信客户端");
        log.info("腾讯云发送短信成功");
        return true;
    }
}